package com.zhhs.jzcd.record.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhhs.framework.aspectj.lang.annotation.Excel;
import com.zhhs.framework.web.domain.BaseEntity;

/**
 * 精准营销发送记录对象 base_send_record
 *
 * @author ruoyi
 * @date 2023-08-04
 */
public class BaseSendRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long id;

    /** 精准营销id */
    @Excel(name = "精准营销id")
    private Long marketingId;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 发送状态1成功2失败 */
    @Excel(name = "发送状态1成功2失败")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMarketingId(Long marketingId)
    {
        this.marketingId = marketingId;
    }

    public Long getMarketingId()
    {
        return marketingId;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("marketingId", getMarketingId())
            .append("phone", getPhone())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
